package session2.overridden;

public class TestAdder {

	public TestAdder() {
	}

	public static void main(String[] args) {
		Adder a = new Adder();
		int b = 27;
		int c = 3;
		int intResult = a.addThem(b, c);//30
		System.out.println("result: " + intResult);
		double doubleResult = a.addThem(22.5, 9.5);//32
		System.out.println("doubleResult: " + doubleResult);
	}
}
